package conf

import (
	"gitee.com/hexug/go-tools/ioc"
	"gitee.com/hexug/go-tools/ioc/log"
)

// RegisterDefaultConf 覆盖注册预制的默认配置
func RegisterDefaultConf() {
	ioc.Container.RegisterConf(&log.Log{
		Level:            "error",
		SaveFileDir:      "./logs",
		SaveFile:         false,
		PrintConsole:     true,
		ShowFullPath:     false,
		Separator:        "",
		PathMsgSeparator: true,
		UseJSONFormat:    false,
	})
}
